package design.wlb.java_reading.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping
    public HashMap<String,String> getUser(){
        HashMap<String,String> map = new HashMap<>();
        map.put("id","1");
        map.put("name","<UNK>");
        map.put("email","<UNK>");
        return map;
    }
}
